/*
 *  Copright: 2008 Philipp Leitner, Distributed Systems Group,
 *            TU Wien, leitner@infosys.tuwien.ac.at
 *
 *  This file is part of DAIOS.
 *
 *  DAIOS is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU Lesser General Public License as
 *  published by the Free Software Foundation.
 * 
 *  DAIOS is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU Lesser General Public License for more details.
 *
 *  You should have received a copy of the GNU Lesser General Public
 *  License along with DAIOS.  If not, see
 *  <http://www.gnu.org/licenses/>.
 * 
 */

package at.ac.tuwien.infosys.dsg.daios.exceptions;

/**
 * This exception is thrown to indicate that Daios was unable to
 * match a given input message uniquely against the WSDL definition.
 * 
 * <p>
 * 
 * This may happen for various reasons, e.g. if
 * 
 * <pre>
 *   -- there is more than one endpoint in the WSDL definition, and
 *      Daios does not know which endpoint to use,
 *   -- there is no WSDL message which looks like the given input,
 *   -- there are two or more WSDL messages which are equally similar
 *      to the given input,
 *   -- or if your input message is used in more than one WSDL
 *      operation.
 * </pre>
 * 
 * In all these cases the only possible solution is to give Daios
 * more additional information to help it resolve the ambiguousness.
 * 
 * @author philipp
 *
 */
public class AmbigiousException extends Exception {
	
	private static final long serialVersionUID = -8297822778624614154L;

	private String message = null;
	
	
	public AmbigiousException(String message) {
		this.message = message;
	}
	
	public String getMessage() {
		return message;
	}
}
